
package com.cmc.dao;

import java.util.List;

import com.cmc.dao.Dao;
import com.cmc.model.GroupSetting;

public interface GroupSettingDao extends Dao {

    /**
     * Retrieves all of the groupSettings
     */
    public List getGroupSettings(GroupSetting groupSetting);

    /**
     * Gets groupSetting's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the groupSetting's id
     * @return groupSetting populated groupSetting object
     */
    public GroupSetting getGroupSetting(final Long id);

    /**
     * Saves a groupSetting's information
     * @param groupSetting the object to be saved
     */    
    public void saveGroupSetting(GroupSetting groupSetting);

    /**
     * Removes a groupSetting from the database by id
     * @param id the groupSetting's id
     */
    public void removeGroupSetting(final Long id);
}

